package io.itit.ecp.admin.server.service;

import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import io.itit.ecp.admin.server.entity.SceneRoomEntity;

import java.util.List;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：空间服务类
 * @Date：Create by 2023-11-23 10:29:25
 */
public interface ISceneRoomService extends JoinIService<SceneRoomEntity> {

    /**
     * 绑定空间的关联公司
     * @return
     */
    boolean updateCompanyId(String companyId, List<String> ids);

    /**
     * 删除空间
     * @param ids
     * @return
     */
    boolean removeRooms(List<String> ids);

    boolean saveRoomBatch(List<SceneRoomEntity> entities);
}
